package com.app.framework.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * 映射上传信息
 */
@Data
@Component
@ConfigurationProperties(prefix = "upload")
public class UploadConfig {

    /**
     * 文件上传目录
     */
    private String fileRoot;

    /**
     * 网站后端地址
     */
    private String domain;

}